<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ include file="/include/taglibs.jsp" %>
<html>
<head>
    <%@include file="/include/header.html" %>
   <%-- <link rel="stylesheet" href="${ctx}/libjs/plugins/treeBox/treeBox.css">--%>
    <script type="text/javascript" src="${ctx}/libjs/plugins/treeBox/treeBox.js"></script>
    <%--<script type="text/javascript" src="${ctx}/appjs/elec/elecStation.js"></script>--%>
    <script type="text/javascript" src="${ctx}/appjs/platform/platformCarBrand.js"></script>
    <link rel="stylesheet" href="${ctx}/statics/css/update.css?v=20200825">
    <link rel="stylesheet" href="${ctx}/statics/css/common.css?v=20200825">
    <link rel="stylesheet" href="${ctx}/libjs/plugins/bootstrap-table-pagejump/bootstrap-table-pagejump.css">
    <script src="${ctx}/libjs/plugins/bootstrap-table-pagejump/bootstrap-table-pagejump.js"></script>
    <link rel="stylesheet" href="${ctx}/libjs/plugins/bootStrap-table-fixed-column/bootstrap-table-fixed-columns.css">
    <script src="${ctx}/libjs/plugins/bootStrap-table-fixed-column/bootstrap-table-fixed-columns.js"></script>
    <style>
        .treeBox .tree-active:hover {
            /*background:#a84747;*/
            color: #fff !important;
        }

        .treeBox a {
            color: #000;
            text-align: center !important;
        }

        .tree-active {
            background: #1e9fff;
            color: #fff !important;
        }

        .treeBox .tree-active:hover {
            background: #1e9fff;
            color: #fff !important;
        }

        .treeBox label {
            text-align: center;
        }

        .bootstrap-table .fixed-table-container .table thead th .th-inner {
            text-align: center !important;
        }

        .fixed-table-body-columns1 {
            width: 203px !important;
        }

        .fixed-table-toolbar {
            display: block;
            /*top: 37px;*/
            right: 90px;
            position: absolute;
            z-index: 100000;
        }
    </style>
</head>

<script type="text/javascript">
    $('#topLink', window.parent.document).html(function (i, origText) {
        return '<ol class="breadcrumb">' +
            '<li class="breadcrumb-item">' +
            '<a href="">主页</a>' +
            '</li>' +
            '<li class="breadcrumb-item">' +
            '<a>车辆管理</a>' +
            '</li>' +
            '<li class="breadcrumb-item">' +
            '<strong>品牌列表</strong>' +
            '</li>' +
            '</ol>';
    });

    var has_add = '';
    var has_edit = '';
    var has_delete = '';
    var StationManager_station_update = false;
</script>

<body class="gray-bg platformCarBrandBody">
<div class="wrapper wrapper-content ">
    <div class="col-sm-12">
        <div class="ibox">
            <div class="ibox-body">
                <div class="row">
                    <input id="brandName" name="brandName" type="text" class="form-control longInput input-distance"
                           placeholder="请输入品牌名称">
                        <button class="btn btn-success input-distance" onclick="carBrand.reLoad()">查询</button>
                        <%-- 导出暂时不做
                        <div class="pull-left search exportNumInput">
                            <input id="count" name="count" type="text" class="form-control"
                                   placeholder="导出条数">
                        </div>
                        <div class="pull-left search fr">
                            <button class="btn btn-success" onclick="carBrand.exportStation()">导出</button>
                        </div>--%>
                    <button type="button" class="btn btn-primary" style="margin-left: 4px" onclick="carBrand.addCarBrand()">新增品牌</button>
                    &nbsp;
                    <div class="pull-left search fr">
                        <button class="btn btn-success exportBtn" onclick="carBrand.exportCarBrand()">导出</button>
                    </div>
                </div>
              <%--  <div class="pull-left search col-md-2">
                </div>--%>
                <table id="exampleTable" data-mobile-responsive="true">
                </table>
            </div>
        </div>
    </div>
</div>
<%--<shiro:hasPermission name="StationManager_station_update">
    <script>
        StationManager_label_update = true;
    </script>
</shiro:hasPermission>--%>

<script type="text/javascript">
    carBrand.init();
</script>
</body>
</html>